import Layout from '@/layout'

const settingRouter = {
  path: '/setting',
  component: Layout,
  redirect: '/setting/shape',
  name: 'Setting',
  meta: {
    title: '기본 데이터 설정',
    icon: 'el-icon-setting'
  },
  alwaysShow: true,
  children: [
    {
      path: 'user',
      component: () => import('@/views/setting/user'),
      name: 'setting-user',
      meta: {
        title: '아이디',
        icon: 'el-icon-user'
      }
    }, {
      path: 'role',
      component: () => import('@/views/setting/role'),
      name: 'setting-role',
      meta: {
        title: '역할',
        icon: 'el-icon-s-custom',
        no_margin: true
      }
    }, {
      path: 'menu',
      component: () => import('@/views/setting/menu'),
      name: 'setting-menu',
      meta: {
        title: '메뉴',
        icon: 'el-icon-menu'
      }
    }, {
      path: 'router',
      component: () => import('@/views/setting/router'),
      name: 'setting-router',
      meta: {
        title: '라우팅',
        icon: 'el-icon-price-tag'
      }
    }
    // {
    //   path: 'shape',
    //   component: () => import('@/views/setting/shape'),
    //   name: 'setting-shape',
    //   meta: {
    //     title: '기업형태',
    //     icon: 'el-icon-coordinate'
    //   }
    // }
  ]
}
export default settingRouter
